﻿using Autofac.Extras.DynamicProxy;
using MDT.LifeSewagePlatform.Conmmon;
using MDT.LifeSewagePlatform.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MDT.LifeSewagePlatform.InterfaceService
{
    [Intercept(typeof(CustomAutofacAop))]
    public  interface IFileService
    {
        public  Task<BaseMessage> Add(AddFile model, int UserID);

        public  Task<BaseMessage> Update(UpdateFile model, int ID, int UserID);


        public  Task<BaseMessage> SoftDelete(int ID, int UserID);
       

        public  Task<BaseMessage> GetFiles(FileParameter para);


        
    }
}
